package com.zzq.controller;


import com.zzq.domain.search.ShootRecordSearchParament;
import com.zzq.result.SmileResult;
import com.zzq.service.ShootRecordAdminService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/admin/record")
@RestController
@Api(value = "订单、支付管理接口",tags = {"订单、支付管理接口"})
public class RecordAdminController {
    @Autowired
    ShootRecordAdminService shootRecordAdminService;

    @PostMapping("/list")
    @ApiOperation("获取支付订单列表")
    public SmileResult getRecordList(@RequestBody ShootRecordSearchParament searchParament){
       return shootRecordAdminService.getAllShootRecord(searchParament);
    }

}
